﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Beetle.Sl.EditorControl.Core
{
    public interface IToolBarItem : System.ComponentModel.INotifyPropertyChanged
    {
        bool IsEnabled { get; set; }
        bool IsSelected { get; set; }
        bool IsOpenPopup { get; set; }
        string Name { get; }
        ICommand Command { get; }
        ICommand PopupCommand { get; }
        ToolBarItemVisualTypeEnum ToolBarItemVisualType { get; }
        UIElement Content { get; }
        UIElement PopupContent { get; }
        void Load(Editor editor);
        void UpdateVisual();
    }
}
